<template>
  <div class="mask">
    <slot></slot>
  </div>
</template>

<script>
  export default {
    name: 'MaskView'
  }
</script>

<style lang="scss" scoped>
  div.mask {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10;
  }
</style>
